package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资讯分类维护对象 sys_zx_category
 * 
 * @author ruoyi
 * @date 2024-04-03
 */
public class SysZxCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long zxCategoryId;

    /** 分类id */
    @Excel(name = "分类id")
    private String cateTypeid;

    /** 分类名称 */
    private String cateText;

    /** 状态-0可用  1表示不可用-默认可用 */
    @Excel(name = "状态-0可用  1表示不可用-默认可用")
    private Integer status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedate;

    /** 分类所有者id--用于后续小程序加盟--数据隔离--默认为1 */
    @Excel(name = "分类所有者id--用于后续小程序加盟--数据隔离--默认为1")
    private String ownerid;

    /** 分类icon */
    @Excel(name = "分类icon")
    private String iconPic;

    public void setZxCategoryId(Long zxCategoryId)
    {
        this.zxCategoryId = zxCategoryId;
    }

    public Long getZxCategoryId()
    {
        return zxCategoryId;
    }
    public void setCateTypeid(String cateTypeid) 
    {
        this.cateTypeid = cateTypeid;
    }

    public String getCateTypeid() 
    {
        return cateTypeid;
    }
    public void setCateText(String cateText) 
    {
        this.cateText = cateText;
    }

    public String getCateText() 
    {
        return cateText;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setUpdatedate(Date updatedate) 
    {
        this.updatedate = updatedate;
    }

    public Date getUpdatedate() 
    {
        return updatedate;
    }
    public void setOwnerid(String ownerid) 
    {
        this.ownerid = ownerid;
    }

    public String getOwnerid() 
    {
        return ownerid;
    }
    public void setIconPic(String iconPic) 
    {
        this.iconPic = iconPic;
    }

    public String getIconPic() 
    {
        return iconPic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zxCategoryId", getZxCategoryId())
            .append("cateTypeid", getCateTypeid())
            .append("cateText", getCateText())
            .append("status", getStatus())
            .append("createdate", getCreatedate())
            .append("updatedate", getUpdatedate())
            .append("ownerid", getOwnerid())
            .append("iconPic", getIconPic())
            .toString();
    }
}
